package com.binge.springboot.lesson21;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
public class LessonApplication {
    public static void main(String[] args) {
        SpringApplication.run(LessonApplication.class, args);
    }

    @Bean
    public String helloBean(){
        System.out.println("hello myBean");
        return "binge";
    }
}
